﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Interfaces.Enums;

namespace Interfaces.RepositoryModels.InternalModels.UserRoleModels
{
    public class RoleModel : ModelBase
    {
        [Key]
        [Column(Order = 2)]
        public RoleType Type { get; set; }
        public virtual ICollection<UserModel> Users { get; set; }
    }
}
